<HTML>
<HEAD>
<TITLE>List admin</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">
<link rel="stylesheet" href="template/stylesheet.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginheight=0 marginwidth=0 rightmargin=0 bottommargin=0 background="images/back.gif" link="#0000FF" vlink="#0000FF" alink="#0000FF">






<div id="login_header">
<img id="login_header_logo" src="template/images/postbox.png" />
<img id="login_header_logo" src="template/images/postfixadmin2.png" />
</div>
<div id="menu">
<ul>

<TMPL_IF NAME="WELCOME">
  You called as:<b><strong class="yellow1"> <TMPL_VAR NAME="USERSE"> </strong></b> 
  <a href="index.pl?action=logout"><b><strong class="yellow1"> To go out</a></strong></b> 
  </br> </br> </br> </br>
</TMPL_IF>

   <li><a target="_top" href="index.pl">home</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listdomain">Domain List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listvirtual">Virtual List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createdomain">New Domain</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createalias">Add Alias</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createmailbox">Add Mailbox</a></li>
   
      <TMPL_IF NAME="ADMIN_SEE">
   </br> </br> </br> </br>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=logms">Log SimpleMail</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=log">Log MTA</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createadmin">Add Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listadmin">Domain Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=setting">Setting</a></li>
   </TMPL_IF>
   
</ul>
</div>

<div id="nav_bar">
<TMPL_VAR NAME="PAGE">
</div>



<table id="admin_table">
   <tr class="header">
      <td>Admin</td>
      <td>Created Domains</td>
      <td>Max domain</td>
      <td>Max mailbox</td>
      <td>Max alias</td>
      <td>Max Size domain</td>
      <td>Max Size Mailbox</td>

      <td>Domains</td>
      <td>Last Modified</td>
      <td>Active</td>
      <td colspan="2">&nbsp;</td>
   </tr>
   
   <TMPL_UNLESS "NOTS">
   <TMPL_LOOP NAME="ROWS">
  
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">

      <td><a href="index.pl?action=postfix&postfixactive=listdomain&username=<TMPL_VAR NAME="name">"><TMPL_VAR NAME="name"></a></td>   
      <td><TMPL_VAR NAME="info"></td> 
      <td><TMPL_VAR NAME="m_domain"></td>   
      <td><TMPL_VAR NAME="m_mailbox"></td>   
      <td><TMPL_VAR NAME="m_alias"></td>  
      <td><TMPL_VAR NAME="mb_domain"></td>   
      <td><TMPL_VAR NAME="mb_mailbox"></td>     
      <td><TMPL_VAR NAME="c_domain"></td>
      <td><TMPL_VAR NAME="created"></td>

      <td><a href="index.pl?action=postfix&postfixactive=editeadminactive&username=<TMPL_VAR NAME="id">&from=<TMPL_VAR NAME="from">"><TMPL_VAR NAME="active"></a></td>
      <td><a href="index.pl?action=postfix&postfixactive=editadmin&username=<TMPL_VAR NAME="id">">edit</a></td>      
      <td><a href="index.pl?action=postfix&postfixactive=deleteadmin&admin=<TMPL_VAR NAME="id">&from=<TMPL_VAR NAME="from">" onclick="return confirm ('Are you sure you want to delete this?\nAdmin: <TMPL_VAR NAME="name">')">del</a></td> 
     </tr>
   </TMPL_LOOP>
     <TMPL_ELSE>
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">
      <td><b>No Domain</b></td>
   </tr>
   </TMPL_UNLESS>
 
 
</table>
<div id="footer">
<a target="_blank" href="http://postfixadmin.com/">Design by Postfixadmin. All rights reserved</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
</div>





<TR>
		<TD valign="top" bgcolor="#FFFFFF">
     <p align="center"><small><font size="1" face="Verdana">Copyright 2008++ <a target="_blank" href="http://unixforum.org.ua">Simplemail</a>
        . All rights reserved</font></small></p>
       </TD>
	</TR>
</BODY>
</HTML>